﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;

namespace Mesuro.GUI {
	public static class Commands {
		public static readonly RoutedCommand ShowSettings = new RoutedCommand( "ShowSettings", typeof( Commands ) );

		public static readonly RoutedCommand NewSheetCommand = new RoutedCommand( "NewSheetCommand", typeof( Commands ) );
		public static readonly RoutedCommand NewGraphCommand = new RoutedCommand( "NewGraphCommand", typeof( Commands ) );
		public static readonly RoutedCommand NewTextBoxCommand = new RoutedCommand( "NewTextBoxCommand", typeof( Commands ) );
		public static readonly RoutedCommand NewImage = new RoutedCommand( "NewImage", typeof( Commands ) );
		public static readonly RoutedCommand ImportSheet = new RoutedCommand( "ImportSheet", typeof( Commands ) );

		public static readonly RoutedCommand NewChannel = new RoutedCommand( "NewChannel", typeof( Commands ) );

		#region Database
		public static readonly RoutedCommand ToggleDatabaseConnection = new RoutedCommand( "ToggleDatabaseConnection", typeof( Commands ) );
		public static readonly RoutedCommand ShowChannels = new RoutedCommand( "ShowChannels", typeof( Commands ) );
		public static readonly RoutedCommand Import = new RoutedCommand( "Import", typeof( Commands ) );
		/// <summary>
		/// Add a series to the currently active dataset, expects an ISeries instance as the command parameter
		/// </summary>
		public static readonly RoutedCommand AddSeries = new RoutedCommand( "AddSeries", typeof( Commands ) );
		#endregion

		public static RoutedCommand ObjectOrder = new RoutedCommand( "ObjectOrder", typeof( Commands ) );
		public const string ORDER_Front = "Front";
		public const string ORDER_Raise = "Raise";
		public const string ORDER_Lower = "Lower";
		public const string ORDER_Back = "Back";

		public const string SaveProjectKey = "SaveProject";
		public const string SavePageKey = "SavePage";
	}
}
